import React from "react";
import {Redirect} from "react-router-dom";

export default class Exit extends React.Component
{
    componentWillMount ()
    {
        alert("确认退出");
    }

    render ()
    {
        return <Redirect to="/login"/>
    }
}